package io.renren.modules.cuttingmachinehisdata.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.cuttingmachinehisdata.dao.CuttingmachineHisdataDao;
import io.renren.modules.cuttingmachinehisdata.entity.CuttingmachineHisdataEntity;
import io.renren.modules.cuttingmachinehisdata.service.CuttingmachineHisdataService;
@Service("cuttingmachineHisdataService")
public class CuttingmachineHisdataServiceImpl extends ServiceImpl<CuttingmachineHisdataDao, CuttingmachineHisdataEntity> implements CuttingmachineHisdataService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<CuttingmachineHisdataEntity> page = this.page(
                new Query<CuttingmachineHisdataEntity>().getPage(params),
                new QueryWrapper<CuttingmachineHisdataEntity>()
        );
        return new PageUtils(page);
    }

}